const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
module.exports = {
  devServer: {
    proxy: {
      '/api': { //URL以什么开头
        target: 'http://localhost:8081', // 替换后端接口地址  实时修改
        changeOrigin: true,
        // pathRewrite: { '^/api': '' }, // 可选：重写路径
      },
    },
  },
};
